package org.sean.fugao.data.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Customer implements Serializable{
	private Integer customerId;
	private String customerFirstname;
	private String customerLastname;
	private boolean customerGender = true; // true for man, and false for woman
	private byte[] customerAvatar;
	private Date customerBirthday;
	private String customerMobile;
	private String customerQq;
	private String customerEmail;
	private Date memberDate;
	private String memberLevel;// DEFAULT 'A' ,
	private String comments;
	private Date lastUpdateDate;
	
	//collection attributes
	private List<CustomerCard> cards = new ArrayList<CustomerCard>();

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	public String getCustomerFirstname() {
		return customerFirstname;
	}

	public void setCustomerFirstname(String customerFirstname) {
		this.customerFirstname = customerFirstname;
	}

	public String getCustomerLastname() {
		return customerLastname;
	}

	public void setCustomerLastname(String customerLastname) {
		this.customerLastname = customerLastname;
	}

	public boolean isCustomerGender() {
		return customerGender;
	}

	public void setCustomerGender(boolean customerGender) {
		this.customerGender = customerGender;
	}

	public byte[] getCustomerAvatar() {
		return customerAvatar;
	}

	public void setCustomerAvatar(byte[] customerAvatar) {
		this.customerAvatar = customerAvatar;
	}

	public Date getCustomerBirthday() {
		return customerBirthday;
	}

	public void setCustomerBirthday(Date customerBirthday) {
		this.customerBirthday = customerBirthday;
	}

	public String getCustomerMobile() {
		return customerMobile;
	}

	public void setCustomerMobile(String customerMobile) {
		this.customerMobile = customerMobile;
	}

	public String getCustomerQq() {
		return customerQq;
	}

	public void setCustomerQq(String customerQq) {
		this.customerQq = customerQq;
	}

	public String getCustomerEmail() {
		return customerEmail;
	}

	public void setCustomerEmail(String customerEmail) {
		this.customerEmail = customerEmail;
	}

	public Date getMemberDate() {
		return memberDate;
	}

	public void setMemberDate(Date memberDate) {
		this.memberDate = memberDate;
	}

	public String getMemberLevel() {
		return memberLevel;
	}

	public void setMemberLevel(String memberLevel) {
		this.memberLevel = memberLevel;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public Date getLastUpdateDate() {
		return lastUpdateDate;
	}

	public void setLastUpdateDate(Date lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}

	public List<CustomerCard> getCards() {
		return cards;
	}

	public void setCards(List<CustomerCard> cards) {
		this.cards = cards;
	}
}
